package com.rc.pojo.vo.adoption;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.core.handler.JacksonTypeHandler;
import com.rc.common.model.ImageModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class AdoptionDetailVO {
    @ApiModelProperty("认养活动id")
    private Long id;

    @ApiModelProperty("认养单价")
    private BigDecimal price;

    @ApiModelProperty("活动简介")
    private String description;

    @ApiModelProperty("轮播图")
    @Column(typeHandler = JacksonTypeHandler.class)
    private List<ImageModel> imgs;

    @ApiModelProperty("活动名称")
    private String title;

    @ApiModelProperty("果树品种名称")
    private String treeName;

    @ApiModelProperty("认养活动id")
    private BigDecimal expectedRevenue;

    @ApiModelProperty("发货周期")
    private String deliveryCycle;

    @ApiModelProperty("发货方式")
    private String deliveryMethod;

    @ApiModelProperty("分数")
    private Double score;

    @ApiModelProperty("是否收藏")
    private Boolean isCollect;

    private Long plantId;

    private Long farmAdminId;

    private String farmAdminAvatar;

    private String farmName;
}
